Algorithms for Linear Time Series Analysis: With R Package
نویسندگان
چکیده
Our ltsa package implements the Durbin-Levinson and Trench algorithms and provides a general approach to the problems of fitting, forecasting and simulating linear time series models as well as fitting regression models with linear time series errors. For computational efficiency both algorithms are implemented in C and interfaced to R. Examples are given which illustrate the efficiency and accuracy of the algorithms. We provide a second package FGN which illustrates the use of the ltsa package with fractional Gaussian noise (FGN). It is hoped that the ltsa will provide a base for further time series software.
منابع مشابه
Algorithms for Segmenting Time Series
As with most computer science problems, representation of the data is the key to ecient and eective solutions. Piecewise linear representation has been used for the representation of the data. This representation has been used by various researchers to support clustering, classication, indexing and association rule mining of time series data. A variety of algorithms have been proposed to obtain...
متن کاملSolving a generalized aggregate production planning problem by genetic algorithms
This paper presents a genetic algorithm (GA) for solving a generalized model of single-item resource-constrained aggregate production planning (APP) with linear cost functions. APP belongs to a class of pro-duction planning problems in which there is a single production variable representing the total production of all products. We linearize a linear mixed-integer model of APP subject to hiring...
متن کاملAlgorithms for Unevenly Spaced Time Series: Moving Averages and Other Rolling Operators
This paper describes algorithms for efficiently calculating certain rolling time series operators for unevenly spaced data. In particular, we show how to calculate simple moving averages (SMAs), exponential moving averages (EMAs), and related operators in linear time with respect to the number of observations in a time series. A web appendix provides an implementation of these algorithms in the...
متن کاملtscount: An R Package for Analysis of Count Time Series Following Generalized Linear Models
The R package tscount provides likelihood-based estimation methods for analysis and modelling of count time series following generalized linear models. This is a flexible class of models which can describe serial correlation in a parsimonious way. The conditional mean of the process is linked to its past values, to past observations and to potential covariate effects. The package allows for mod...
متن کاملAsymmetric Price Transmission with R Package apt
The structure of the package apt and the implementation of models for asymmetric price transmission (APT) are explained in this note. This type of economic analysis is typically time series analysis with the steps of unit root test, cointegration test, and finally error correction model. APT studies have evolved with several distinct stages: pre-cointegration, linear cointegration, nonlinear th...
متن کامل